package com.atgui.yygh.config;

import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @Author:wzh
 * @Date 2022 08 05 17 55
 **/
@Configuration
@MapperScan("com.atgui.yygh.mapper")
public class HospConfig {

    @Bean
    public PaginationInterceptor paginationInnerInterceptor(){
        return new PaginationInterceptor();
    }
}
